﻿using Mono.Cecil;

namespace MethodCaching.Weaving
{
    /// <summary>
    /// Represents a class that is capable of weaving a type.
    /// </summary>
    public interface ITypeWeaver
    {
        /// <summary>
        /// Weaves the target type
        /// </summary>
        /// <param name="typeDefinition">The target type.</param>
        void Weave(TypeDefinition typeDefinition);
    }
}